Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​IUtf8SpanParsable<​TSelf>
Assembly: System.Runtime
Defines a mechanism for parsing a span of UTF-8 characters to a value.
Methods
static
TSelf
Parse​(ReadOnlySpan<​byte> utf8Text,
IFormatProvider? provider)
Parses a span of UTF-8 characters into a value.
Returns The result of parsing <paramref name="utf8Text" /> .
utf8Text
The span of UTF-8 characters to parse.
provider
An object that provides culture-specific formatting information about <paramref name="utf8Text" /> .
static
bool
TryParse​(ReadOnlySpan<​byte> utf8Text,
IFormatProvider? provider,
TSelf& result)